<script src="__PUBLIC__/js/backend/mer_wx_menu.js"></script>
<script>
var Param = <?php echo json_encode( $param ) ?> ;
$(function(){
  MerWxMenu.init(<?php echo json_encode( $config ) ?>);
});

</script>

<div class="page-content">
  <ol class="breadcrumb">
    <li><a href="<?php echo $home_url ?>">首页</a></li>
    <li class="active"><?php echo $module_name ?></li>
  </ol>
  <div class="page-content-inner"> 
    <!-- read_modal -->
    <div class="portlet blue" id="read_modal"> 
      <!-- portlet-title -->
      <div class="portlet-title">
        <div class="caption"> <i class="fa fa-comments "></i> <?php echo $module_name ?> </div>
      </div>
      <!-- end portlet-title -->
      <div class="portlet-body "> 
        <div style="margin-bottom:32px;">
          <button type="button" class="btn btn-default" id="create_main_menu_btn">新增主菜单</button>
          <button type="button" class="btn btn-success" id="get_menu_btn">获取当前菜单</button>
          <button type="button" class="btn btn-primary" id="save_menu_btn">保存菜单</button>
          <button type="button" class="btn btn-danger" id="post_menu_btn">发布菜单</button>
        </div>
        <!-- table grid -->
        <div id="menu_html">
        
        </div>
        <!-- end table --> 
        <div class="row" style="text-align:center; margin-top:60px;">
          <button type="button" class="btn btn-lg btn-default" onClick="javascript:history.go(-1)"><i class="fa fa-arrow-left"></i> 返回</button>
        </div>
      </div>
    </div>
    <!-- end portlet read_modal --> 
  </div>
  <!-- end page-content-inner --> 
</div>

